package request

type TmallMsfIdentifyStatusQueryRequest struct {
	/*
	   天猫订单号     */
	OrderId *int64 `json:"order_id" required:"true" `
	/*
	   服务类型，0 家装的送货上门并安装 1 单向安装 2 建材的送货上门 3 建材的安装     */
	ServiceType *int64 `json:"service_type" required:"true" `
}

func (s *TmallMsfIdentifyStatusQueryRequest) SetOrderId(v int64) *TmallMsfIdentifyStatusQueryRequest {
	s.OrderId = &v
	return s
}
func (s *TmallMsfIdentifyStatusQueryRequest) SetServiceType(v int64) *TmallMsfIdentifyStatusQueryRequest {
	s.ServiceType = &v
	return s
}

func (req *TmallMsfIdentifyStatusQueryRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.OrderId != nil {
		paramMap["order_id"] = *req.OrderId
	}
	if req.ServiceType != nil {
		paramMap["service_type"] = *req.ServiceType
	}
	return paramMap
}

func (req *TmallMsfIdentifyStatusQueryRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
